package com.example.yangjintingtest.mapper;

import com.example.yangjintingtest.domain.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminMapper {

   @Select("SELECT * FROM t_admin WHERE admin_name=#{adminName} AND pwd=#{pwd}")
   public Admin userLogin(Admin admin);
}
